package global

import (
	"gin-demo/cache/redis_key"
	"gin-demo/config"
	ut "github.com/go-playground/universal-translator"
	"github.com/go-redis/redis"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

var (
	GN_VP *viper.Viper
	GN_CONFIG config.Server
	GN_LOG *zap.Logger
	GN_DB *gorm.DB
	GN_REDIS *redis.Client
	GN_TRANS ut.Translator
	GN_REDIS_KEY redis_key.RedisKey
)